import { Entity, PrimaryGeneratedColumn, Column } from 'typeorm';

@Entity('sys_perm', {
  comment: '权限表',
})
export class PermEntity {
  @PrimaryGeneratedColumn({ type: 'int', comment: '权限ID', name: 'perm_id' })
  permId: number;

  @Column({ type: 'varchar', comment: '权限名称', name: 'perm_name' })
  permName: string;

  @Column({ type: 'varchar', comment: '权限描述', name: 'remark' })
  remark: string;
}
